/*
 * Copyright (C) 2021 Huawei Device Co., Ltd.
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package com.facebook.fresco.helper.photoview.photodraweeview;

import ohos.agp.components.Component;
import ohos.multimodalinput.event.TouchEvent;

/**
 * 在照片点击监听器
 *
 * @author dev
 * @since 2021-08-03
 */
public interface OnPhotoTapListener {
    /**
     * 在图挖掘
     *
     * @param view 视图
     * @param x1 x1
     * @param y1 日元
     */
    void onPhotoTap(Component view, float x1, float y1);

    void onPhotoDrag(Component view,TouchEvent event);
}
